#include "glAlsViewer.h"
#include "Interface.h"

IMPLEMENT_APP(glAlsViewer)

bool glAlsViewer::OnInit()
{
    m_ptrFrame=new LutEditorMainFrame(wxT("IGN/MATIS LUT Editor "));
    m_ptrFrame->Show(true);
    m_ptrFrame->OnInit();

    return true;
}

BEGIN_EVENT_TABLE(LutEditorMainFrame, wxFrame)
    EVT_MENU(ID_Quit, LutEditorMainFrame::OnQuit)
    EVT_MENU(ID_About, LutEditorMainFrame::OnAbout)
END_EVENT_TABLE()


//EVT_MENU(ID_EXPORT_IMAGE, MyFrame::OnExportImage)
//EVT_MENU(ID_IMPORT_LUT, MyFrame::OnImportFichierLut)
//EVT_MENU(ID_EXPORT_FICHIER_LUT, MyFrame::OnExportFichierLut)
//EVT_TEXT_ENTER(ID_BORNE_MIN, MyFrame::BorneMinValeur)
//EVT_TEXT_ENTER(ID_BORNE_MAX, MyFrame::BorneMaxValeur)
//EVT_BUTTON(ID_AJOUT, MyFrame::Ajout)
//EVT_BUTTON(ID_SUPPR, MyFrame::Suppr)
//EVT_BUTTON(ID_TRI, MyFrame::Tri)
//EVT_BUTTON(ID_APPLIQUER, MyFrame::Appliquer)
//EVT_COMBOBOX(ID_COMBO, MyFrame::ChoixSyst)
//EVT_COMBOBOX(ID_NB_INTERVALLE, MyFrame::ChoixNbIntervalle)
//EVT_COMBOBOX(ID_INTERPOLATION, MyFrame::ChoixInterp)
//EVT_BUTTON(ID_CALCUL, MyFrame::Calcul)
//EVT_SLIDER(ID_TRANSPARENCE,MyFrame::ChoixTranparence)
//EVT_BUTTON(ID_ANNULER, MyFrame::Annuler)
//EVT_BUTTON(ID_ENREGISTRER, MyFrame::Enregistrer)
//EVT_BUTTON(ID_VISUALISER_LUT, MyFrame::VisualiserLut)

